<template>
	<view>
		<view v-for="item,index in recordList" :key="'rechargeRecord' + index" class="rechargeRecordItem">
			<view class="left">
				<view class="waiting">{{ item.title }}</view>
				<view class="time">{{ item.time }}</view>
			</view>
			<view class="amount">{{ item.amount }}</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				recordList: [{
					title: this.$t('Page.user.ddtz'),
					time: '16:44 2023/10/09',
					amount: '1000.00'
				},{
					title: this.$t('Page.user.ddtz'),
					time: '16:44 2023/10/09',
					amount: '1000.00'
				},{
					title: this.$t('Page.user.ddtz'),
					time: '16:44 2023/10/09',
					amount: '1000.00'
				},{
					title: this.$t('Page.user.ddtz'),
					time: '16:44 2023/10/09',
					amount: '1000.00'
				},{
					title: this.$t('Page.user.ddtz'),
					time: '16:44 2023/10/09',
					amount: '1000.00'
				},{
					title: this.$t('Page.user.ddtz'),
					time: '16:44 2023/10/09',
					amount: '1000.00'
				}]
			}
		}
	}
</script>

<style lang="less" scoped>
	.rechargeRecordItem {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 8px;
		margin-bottom: 4px;

		&:nth-child(2n-1) {
			background: #2b333b;
		}

		.left {
			display: flex;
			flex-direction: column;

			.waiting {
				font-weight: 700;
				color: #fff;
			}

			.time {
				font-size: .75rem;
				font-weight: 400;
				line-height: 1.25rem;
				letter-spacing: .03333em;
				color: #adadc2;
			}
		}

		.amount {
			color: #adadc2;
		}
	}
</style>